﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CustomQueryDetail.aspx.cs" Inherits="ZLCMS.Web.SystemManage.Basics.CustomQuery.CustomQueryDetail" %>

<%@ Register src="/SystemManage/Control/JGridControl.ascx" tagname="JGridControl" tagprefix="uc1" %>
<form id="pageForm" method="post" runat="Server" class="pageForm required-validate"
    onsubmit="return validateCallback(this, navTabAjaxDone);" action="/SystemManage/Basics/CustomQuery/CustomQueryDetail.aspx">

<div class="pageContent">
    <div class="pageFormContent" layoutH="56">
    	

		<h3 class="contentTitle">基本信息</h3>  
        <dl class="nowrap">
            <dt>查询名：</dt>
            <dd><asp:TextBox ID="name" runat="server" class="required" Columns="65"></asp:TextBox></dd>
        </dl>
        
        <dl class="nowrap">
            <dt>查询语句：</dt>
            <dd><asp:TextBox ID="sql" runat="server" class="required" Columns="65" Rows="5" 
                    TextMode="MultiLine"></asp:TextBox></dd>
        </dl>
        
        <dl class="nowrap">
            <dt>参数定义：</dt>
            <dd> 
                <uc1:JGridControl ID="JGridParam" runat="server"  EditorUrl="/SystemManage/Basics/CustomQuery/QueryPropertyDialog.aspx" KeyColumnName="Code"/></dd>
        </dl>
	
        <dl class="nowrap">
            <dt>结果定义：</dt>
            <dd> 
                <uc1:JGridControl ID="JGridResult" runat="server"  EditorUrl="/SystemManage/Basics/CustomQuery/QueryPropertyDialog.aspx" KeyColumnName="Code"/></dd>
        </dl>
	
	</div>
        
    <div class="formBar">
    <input id="submit_op" name="submit_op" type="hidden" />
	    <ul>
			<li>
	        <div class="buttonActive"><div class="buttonContent"><button onclick="$('#submit_op', navTab.getCurrentPanel()).val('0');" type="submit">保存</button></div></div>
            </li>
			<li>
		    <div class="button"><div class="buttonContent">
		    <button type="button" onclick="navTab.openTab('CustomQueryDetail', '/SystemManage/Basics/CustomQuery/CustomQueryDetail.aspx',{data:{tabid:'CustomQueryDetail'}});">取消并新增</button></div></div>
			</li>
            <li>
	        <div class="buttonActive"><div class="buttonContent"><button onclick="$('#submit_op', navTab.getCurrentPanel()).val('1');" type="submit">保存并新增</button></div></div>
            </li>
			<li>
		    <div class="button"><div class="buttonContent"><button type="button" class="close">关闭</button></div></div>
			</li>
		</ul>
    </div>
</div>
</form>